package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Table;
import java.io.Serializable;
														    import java.util.Date;
							    import java.math.BigDecimal;
																			
/**
 *
 * <h1>秒杀商品详情表表 micro_seckill_detail</h1>
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "秒杀商品详情表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_seckill_detail")
public class SeckillDetail implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
    @ApiModelProperty(value = "主键编号")
	private Long id;

	
			
					/**
			 * 商品sku编号
			 */
        	@ApiModelProperty(value = "商品sku编号")
			private String goodsCode;

			
					/**
			 * 秒杀标题
			 */
        	@ApiModelProperty(value = "秒杀标题")
			private String seckillName;

			
					/**
			 * 秒杀商品图片
			 */
        	@ApiModelProperty(value = "秒杀商品图片")
			private String goodsImage;

			
					/**
			 * 秒杀商品价格
			 */
        	@ApiModelProperty(value = "秒杀商品价格")
			private BigDecimal seckillGoodsPrice;

			
					/**
			 * 秒杀商品折扣:如果存在折扣则秒杀价格不可更改,由商品原价 * 秒杀折扣得出
			 */
        	@ApiModelProperty(value = "秒杀商品折扣:如果存在折扣则秒杀价格不可更改,由商品原价 * 秒杀折扣得出")
			private String seckillGoodsRate;

			
					/**
			 * 秒杀商品原价
			 */
        	@ApiModelProperty(value = "秒杀商品原价")
			private BigDecimal seckillGoodsOriginalPrice;

			
					/**
			 * 秒杀商品数量
			 */
        	@ApiModelProperty(value = "秒杀商品数量")
			private Integer seckillGoodsCount;

			
					/**
			 * 秒杀剩余库存数
			 */
        	@ApiModelProperty(value = "秒杀剩余库存数")
			private Integer seckillStockCount;

			
					/**
			 * 秒杀每人限购数量
			 */
        	@ApiModelProperty(value = "秒杀每人限购数量")
			private Integer seckillGoodsQuota;

			
					/**
			 * 限购时间编号
			 */
        	@ApiModelProperty(value = "限购时间编号")
			private String seckillSceneCode;

			
					/**
			 * 秒杀编号
			 */
        	@ApiModelProperty(value = "秒杀编号")
			private String seckillCode;

			
					/**
			 * 秒杀商品排序
			 */
        	@ApiModelProperty(value = "秒杀商品排序")
			private Integer seckillGoodsSort;

			
					/**
			 * 开始时间
			 */
        	@ApiModelProperty(value = "开始时间")
			private Date createTime;

			
					/**
			 * 结束时间
			 */
        	@ApiModelProperty(value = "结束时间")
			private Date updateTime;

			
					/**
			 * 商品名称
			 */
        	@ApiModelProperty(value = "商品名称")
			private String goodsName;

			
					/**
			 * 秒杀折扣类别 1.固定价格 2.比例价格
			 */
        	@ApiModelProperty(value = "秒杀折扣类别 1.固定价格 2.比例价格")
			private Byte seckillGoodsRateType;

			}
